org.eclipse.vtp.framework.databases
Interface IDatabase


public interface IDatabase

IDatabase.

Author:
Lonnie Pryor

Method Summary
 java.lang.String[] getColumnNames(java.lang.String tableName)
           
 IDataType getColumnType(java.lang.String tableName, java.lang.String columnName)
           
 java.sql.Connection getConnection()
          Returns a connection to this database.
 java.lang.String getName()
           
 java.lang.String[] getTableNames()
           
 

Method Detail

getName

java.lang.String getName()

getTableNames

java.lang.String[] getTableNames()

getColumnNames

java.lang.String[] getColumnNames(java.lang.String tableName)

getColumnType

IDataType getColumnType(java.lang.String tableName,
                        java.lang.String columnName)

getConnection

java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Returns a connection to this database.

Returns:
A connection to this database.
Throws:
java.sql.SQLException - If the connection cannot be created.